package gdou.gym.dao;

import gdou.gym.entity.OrderSpaceView;
import gdou.gym.entity.OrderSpaceViewExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Param;

public interface OrderSpaceViewMapper {
    long countByExample(OrderSpaceViewExample example);

    int deleteByExample(OrderSpaceViewExample example);

    int insert(OrderSpaceView record);

    int insertSelective(OrderSpaceView record);

    List<OrderSpaceView> selectByExample(OrderSpaceViewExample example);

    int updateByExampleSelective(@Param("record") OrderSpaceView record, @Param("example") OrderSpaceViewExample example);

    int updateByExample(@Param("record") OrderSpaceView record, @Param("example") OrderSpaceViewExample example);
    @MapKey("name")
    Map<String,Object> queryOrderSpaceMsg();
}